package putao.ui
{
	import flash.display.Shape;
	import flash.display.Sprite;
	
	public class FocusShape extends Sprite
	{
		private static var _instance:FocusShape;
		
		public function FocusShape(inside:Inside)
		{
			super();
			
			this.mouseEnabled = false;
		}
		
		public static function getInstance():FocusShape
		{
			if(_instance == null)
			{
				_instance = new FocusShape(new Inside);
			}
			return _instance;
		}
		
		public function setRect(x:Number, y:Number, width:Number, height:Number):void
		{
			this.graphics.clear();
			
			this.graphics.lineStyle(0, 0x66ffff, 0.7);
			this.graphics.drawRect(x, y, width, height);
		}
	}
}class Inside{}